export default {
  namespaced: true,
  state: () => ({
    fromPath: '',
    fromPage: 1,
  }),
  getters: {},
  mutations: {
    SET_FROM_PATH(state, payload) {
      state.fromPath = payload.value;
    },
    SET_FROM_PAGE(state, payload) {
      state.fromPage = payload.value;
    },
    CLEAR_ADD_USER(state) {
      state.fromPath = '';
      state.fromPage = 1;
    },
  },
};
